/*
* Copyright 1998-2014 VIA Technologies, Inc. All Rights Reserved.
* Copyright 2001-2014 S3 Graphics, Inc. All Rights Reserved.
* Copyright 2013-2018 Shanghai Zhaoxin Semiconductor Co., Ltd. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sub license,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the
* next paragraph) shall be included in all copies or substantial portions
* of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
* THE AUTHOR(S) OR COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/


//
// S3_MAJOR_VERSION and S3_MINOR_VERSION are used to define DRIVER_VERSION
// which is used in the .rc files.
//
// Please keep the S3_MINOR_VERSION to 4 decimal digits
//
//
//  DX_DRIVER_PREFIX_VERSION is the number specified in the DriverVer 
//  directive of the .INF file, and indicates operating system and
//  the driver's level of DirectX support.  E.g. 5.12.01.xxxx is an
//  NT5 (Win2000) DX7 driver.  The last four digits are for driver use.
//  The entire number (DX prefix + driver number) must be unique among 
//  WHQL submissions.
//

//
// WARNING:  Do NOT use leading zeroes in the S3_MINOR_VERSION_NUM!
//           Or you'll find that '08' gets treated as an octal signal!
//


#define CBIOS_VERSION_MAJOR                     10    /* Branch CBios code */
#define CBIOS_VERSION_BRANCH                    17    /* Big change such as structure modification */
#define CBIOS_VERSION_FEATURE                   18    /* Version Number High Byte */
#define CBIOS_VERSION_MINOR                     45    /* Version Number Low Byte */ 
#define CBIOS_PREFIX_VERSION_STR             "10.17.18.0045"
#define CBIOS_INTERNAL_PRODUCTVERSION_STR   "35.00.45"


#define CBIOS_PREFIX_VERSION            CBIOS_VERSION_MAJOR,CBIOS_VERSION_BRANCH,CBIOS_VERSION_FEATURE,CBIOS_VERSION_MINOR


//
//  These undefines are used to replace with S3 version specific definitions
//  below, or in the modules that include this header file.
//
#undef VER_PRODUCTNAME_STR
#undef VER_COMPANYNAME_STR
#undef VER_PRODUCTVERSION
#undef VER_PRODUCTVERSION_STR

#define VER_LEGALCOPYRIGHT_YEARS    "2018"
#define VER_COMPANYNAME_STR         "Shanghai Zhaoxin Semiconductor Co.,Ltd."
#define VER_LEGALCOPYRIGHT_STR      VER_LEGALCOPYRIGHT_YEARS  " " VER_COMPANYNAME_STR

#define CBIOS_EXPORT_DRIVER_FILEDESC_STR      L"Zhaoxin CBIOS Export Driver"

#ifndef __LINUX__
    #if defined (_WIN64)
            #define CBIOS_EXPORT_DRIVER_NAME              L"zxbios64.sys"
    #else
            #define CBIOS_EXPORT_DRIVER_NAME              L"zxbios32.sys"
    #endif
#endif

#define VER_PRODUCTVERSION          CBIOS_PREFIX_VERSION
#define VER_FILEVERSION_STR         CBIOS_PREFIX_VERSION_STR
#define VER_PRODUCTVERSION_STR      CBIOS_PREFIX_VERSION_STR "-" CBIOS_INTERNAL_PRODUCTVERSION_STR

#define VER_PRODUCTNAME_STR         CBIOS_EXPORT_DRIVER_NAME

